Prime Minister Boris Johnson said the UK will leave by October 31, regardless of whether a deal has been agreed with the EU